package asia.kalin.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Kalin
 * @since 2025-03-10
 */
@Data
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("detection_result")
public class DetectionResult implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 检测结果id
     */
    @TableId(value = "result_id", type = IdType.ASSIGN_ID)
    private String resultId;

    /**
     * 摄像头id
     */
    private String cameraId;

    /**
     * 检测类型:1-绿化检测 2-道路检测 3-卫生检测
     */
    private Integer type;

    /**
     * 问题图片
     */
    private String img;

    /**
     * 问题等级：0-低 1-中 2-高
     */
    private Integer grade;

    /**
     * 问题标题
     */
    private String title;

    /**
     * 问题描述
     */
    private String description;

    /**
     * 解决方案
     */
    private String solution;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
